package com.bw.a2209clubshop.mmkv

import com.bw.a2209clubshop.mmkv.utils.MMKVOwner
import com.bw.a2209clubshop.mmkv.utils.MMKVProperty
import com.tencent.mmkv.MMKV

object AppMMKV:MMKVOwner{
    //  MMKV实例 auth文件中
    override val mmkv: MMKV
        get() = MMKV.mmkvWithID("app")

    //用户隐私协议
    var splashAgreement by MMKVProperty(false)

    //app引导页
    var needGuide by MMKVProperty(true)

    //活动搜索历史记录
    var activitySearchHistory by MMKVProperty("")

    //路线搜索记录
    var routeSearchHistory by MMKVProperty("")

    // 俱乐部管理员相关搜索记录
    var clubMgrSearchHistory by MMKVProperty("")

    // 俱乐部管理员相关搜索记录
    var clubSearchHistory by MMKVProperty("")
}